package ${packageName};

<#list importList as item>
import ${item};
</#list>

<#assign entityVarName =  entityClassName?substring(0,1)?lower_case+entityClassName?substring(1)>
public interface ${mapperName}{

    List<${entityClassName}> selectAll();

    List<${entityClassName}> getSelective(${entityClassName} ${entityVarName});

    List<${entityClassName}> selectWithPage(Map map);

    ${entityClassName} getByPrimaryKey(${primaryKey.type} ${primaryKey.varName});

    int update(${entityClassName} ${entityVarName});

    int insert(${entityClassName} ${entityVarName});

    int saveOrUpdate(${entityClassName} ${entityVarName});

    int delete(${primaryKey.type} ${primaryKey.varName});

}